<template>
    <web-view :src="url" bindmessage="getMessage"></web-view>
</template>

<script>
export default {
    data() {
        return {
            url: "",
        };
    },

    onLoad(options) {
        console.log(options, "jump页面options");
        this.url = options.api_token
            ? `${decodeURIComponent(options.url)}?api_token=${
                  options.api_token
              }`
            : `${decodeURIComponent(options.url)}`;
        console.log(this.url, "this.url----");
    },
};
</script>
